package com.ruoyi.gcgl.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤管理对象 gyspt_kqproject
 * 
 * @author ruoyi
 * @date 2024-12-07
 */
public class GysptKqproject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 合同ID */
    @Excel(name = "合同ID")
    private Long gysptProjectid;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String orderNo;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String name;

    /** 价税合计 */
    @Excel(name = "价税合计")
    private BigDecimal jshj;

    /** 机构 */
    @Excel(name = "机构")
    private String jig;

    /** 拼音码 */
    @Excel(name = "拼音码")
    private String piny;

    /** 交付日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jfriq;

    /** 项目地址 */
    @Excel(name = "项目地址")
    private String adress;

    /** 合同类型 */
    @Excel(name = "合同类型")
    private String htype;

    /** 联系人 */
    @Excel(name = "联系人")
    private String lxr;

    /** 签单日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qdriq;

    /** 项目经理 */
    @Excel(name = "项目经理")
    private String projectManager;

    /** 项目负责人 */
    @Excel(name = "项目负责人")
    private String owner;

    /** 备注 */
    @Excel(name = "备注")
    private String descs;

    /** 状态（0待审核，1通过，2拒绝） */
    @Excel(name = "状态", readConverterExp = "0=待审核，1通过，2拒绝")
    private Integer status;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;
    
    private List<GysptKqworks> items;
    
    @Excel(name = "联系电话")
    private String phone;
    
    private Long kqj;
    
    public Long getKqj() {
		return kqj;
	}

	public void setKqj(Long kqj) {
		this.kqj = kqj;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public List<GysptKqworks> getItems() {
		return items;
	}

	public void setItems(List<GysptKqworks> items) {
		this.items = items;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGysptProjectid(Long gysptProjectid) 
    {
        this.gysptProjectid = gysptProjectid;
    }

    public Long getGysptProjectid() 
    {
        return gysptProjectid;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setJshj(BigDecimal jshj) 
    {
        this.jshj = jshj;
    }

    public BigDecimal getJshj() 
    {
        return jshj;
    }
    public void setJig(String jig) 
    {
        this.jig = jig;
    }

    public String getJig() 
    {
        return jig;
    }
    public void setPiny(String piny) 
    {
        this.piny = piny;
    }

    public String getPiny() 
    {
        return piny;
    }
    public void setJfriq(Date jfriq) 
    {
        this.jfriq = jfriq;
    }

    public Date getJfriq() 
    {
        return jfriq;
    }
    public void setAdress(String adress) 
    {
        this.adress = adress;
    }

    public String getAdress() 
    {
        return adress;
    }
    public void setHtype(String htype) 
    {
        this.htype = htype;
    }

    public String getHtype() 
    {
        return htype;
    }
    public void setLxr(String lxr) 
    {
        this.lxr = lxr;
    }

    public String getLxr() 
    {
        return lxr;
    }
    public void setQdriq(Date qdriq) 
    {
        this.qdriq = qdriq;
    }

    public Date getQdriq() 
    {
        return qdriq;
    }
    public void setProjectManager(String projectManager) 
    {
        this.projectManager = projectManager;
    }

    public String getProjectManager() 
    {
        return projectManager;
    }
    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gysptProjectid", getGysptProjectid())
            .append("orderNo", getOrderNo())
            .append("customerName", getCustomerName())
            .append("name", getName())
            .append("jshj", getJshj())
            .append("jig", getJig())
            .append("piny", getPiny())
            .append("jfriq", getJfriq())
            .append("adress", getAdress())
            .append("htype", getHtype())
            .append("lxr", getLxr())
            .append("qdriq", getQdriq())
            .append("projectManager", getProjectManager())
            .append("owner", getOwner())
            .append("descs", getDescs())
            .append("status", getStatus())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
